import { createPinia } from 'pinia'

// 引入持久化插件

import piniaPluginPersist from 'pinia-plugin-persist'

const storeRoot = createPinia()
storeRoot.use(piniaPluginPersist)

export default storeRoot